package com.zenghus.mybatis.beans;

public class Blog {
    private  Integer bid;
    private String name;
    private Author authord;

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Author getAuthord() {
        return authord;
    }

    public void setAuthord(Author authord) {
        this.authord = authord;
    }

    @Override
    public String toString() {
        return "Blog{" +
                "bid=" + bid +
                ", name='" + name + '\'' +
                ", authord=" + authord +
                '}';
    }
}
